package com.ease.platform.authorization.vo;

import java.util.List;

import com.ease.platform.model.type.IdentityAuthorization;

public class AuthorizationContext {

	public static final boolean AUTHORIZATION_PROCEED = true;

	private String interfaceOperation;

	private boolean authorizationProceed = false;

	private String operationName;

	private List<IdentityAuthorization> authorizations;

	/**
	 * @return the operationName
	 */
	public String getOperationName() {
		return operationName;
	}

	/**
	 * @param operationName
	 *            the operationName to set
	 */
	public void setOperationName(String operationName) {
		this.operationName = operationName;
	}

	/**
	 * @return the authorizationProceed
	 */
	public boolean isAuthorizationProceed() {
		return authorizationProceed;
	}

	/**
	 * @param authorizationProceed
	 *            the authorizationProceed to set
	 */
	public void setAuthorizationProceed(boolean authorizationProceed) {
		this.authorizationProceed = authorizationProceed;
	}

	/**
	 * @return the interfaceOperation
	 */
	public String getInterfaceOperation() {
		return interfaceOperation;
	}

	/**
	 * @param interfaceOperation
	 *            the interfaceOperation to set
	 */
	public void setInterfaceOperation(String interfaceOperation) {
		this.interfaceOperation = interfaceOperation;
	}

	/**
	 * @return the authorizations
	 */
	public List<IdentityAuthorization> getAuthorizations() {
		return authorizations;
	}

	/**
	 * @param authorizations
	 *            the authorizations to set
	 */
	public void setAuthorizations(List<IdentityAuthorization> authorizations) {
		this.authorizations = authorizations;
	}

}
